//
//  TieBaModel.h
//  1gene
//
//  Created by 1jiyin on 16/3/14.
//  Copyright © 2016年 1jiyin. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "NSDictionary+NULLToNSString.h"

@interface TieBaModel : NSObject
/*
 *总共的页数
 */
@property(nonatomic,copy)NSString *total;

/*
 *每页的页数
 */
@property(nonatomic,copy)NSString *per_page;


/*
 *当前页
 */
@property(nonatomic,copy)NSString *current_page;

/*
 *最后一页
 */
@property(nonatomic,copy)NSString *last_page;

/*
 *下一页的链接
 */
@property(nonatomic,copy)NSString *next_page_url;

/*
 *上一页的链接
 */
@property(nonatomic,copy)NSString *prev_page_url;

/*
 *从那一页
 */
@property(nonatomic,copy)NSString *from;

/*
 *到那一页
 */
@property(nonatomic,copy)NSString *to;



/*
 *未知id
 */
@property(nonatomic,copy)NSString *unKnowId;

/*
 *用户id user_id
 */
@property(nonatomic,copy)NSString *userId;

/*
 *帖子
 */
@property(nonatomic,copy)NSString *title;

/*
 *帖子内容
 */
@property(nonatomic,copy)NSString *content;

/*
 *keywords
 */
@property(nonatomic,copy)NSString *keywords;

/*
 *评论的数量
 */
@property(nonatomic,copy)NSString *comment_num;


/*
 *喜欢的数量 like_num
 */
@property(nonatomic,copy)NSString *like_num;

/*
 *is_popular 热门贴
 */
@property(nonatomic,copy)NSString *is_popular;

/*
 *is_popular 精华帖
 */
@property(nonatomic,copy)NSString *is_great;


/*
 *最后评论的id
 */
@property(nonatomic,copy)NSString *last_comment_id;


/*
 *浏览的数量 view_num
 */
@property(nonatomic,copy)NSString *view_num;

/*
 *发帖时间
 */
@property(nonatomic,copy)NSString *created_at;

/*
 *更新时间
 */
@property(nonatomic,copy)NSString *updated_at;


/*
 *是否点赞
 */
@property(nonatomic,copy)NSString *is_like;


/*
 *用户信息
 */
@property(nonatomic,copy)NSDictionary *user_info;


/*
 *标签名 tag_name
 */
@property(nonatomic,copy)NSString *tag_name;

/*
 *用户发表的图片
 */
@property(nonatomic,copy)NSArray *media_urls;


-(instancetype)initWithDictionary:(NSDictionary *)dic;
@end
